using System;
namespace ServiceStack.Logging
{
	public class DebugLogger : ILog
	{
		private const string DEBUG = "DEBUG: ";
		private const string ERROR = "ERROR: ";
		private const string FATAL = "FATAL: ";
		private const string INFO = "INFO: ";
		private const string WARN = "WARN: ";
		public bool IsDebugEnabled
		{
			get;
			set;
		}
		public DebugLogger(string type)
		{
		}
		public DebugLogger(Type type)
		{
		}
		private static void Log(object message, Exception exception)
		{
			string str = (message == null) ? string.Empty : message.ToString();
			if (exception != null)
			{
				str = str + ", Exception: " + exception.Message;
			}
		}
		private static void LogFormat(object message, params object[] args)
		{
			if (message != null)
			{
				message.ToString();
				return;
			}
			string arg_10_0 = string.Empty;
		}
		private static void Log(object message)
		{
			if (message != null)
			{
				message.ToString();
				return;
			}
			string arg_10_0 = string.Empty;
		}
		public void Debug(object message, Exception exception)
		{
			DebugLogger.Log("DEBUG: " + message, exception);
		}
		public void Debug(object message)
		{
			DebugLogger.Log("DEBUG: " + message);
		}
		public void DebugFormat(string format, params object[] args)
		{
			DebugLogger.LogFormat("DEBUG: " + format, args);
		}
		public void Error(object message, Exception exception)
		{
			DebugLogger.Log("ERROR: " + message, exception);
		}
		public void Error(object message)
		{
			DebugLogger.Log("ERROR: " + message);
		}
		public void ErrorFormat(string format, params object[] args)
		{
			DebugLogger.LogFormat("ERROR: " + format, args);
		}
		public void Fatal(object message, Exception exception)
		{
			DebugLogger.Log("FATAL: " + message, exception);
		}
		public void Fatal(object message)
		{
			DebugLogger.Log("FATAL: " + message);
		}
		public void FatalFormat(string format, params object[] args)
		{
			DebugLogger.LogFormat("FATAL: " + format, args);
		}
		public void Info(object message, Exception exception)
		{
			DebugLogger.Log("INFO: " + message, exception);
		}
		public void Info(object message)
		{
			DebugLogger.Log("INFO: " + message);
		}
		public void InfoFormat(string format, params object[] args)
		{
			DebugLogger.LogFormat("INFO: " + format, args);
		}
		public void Warn(object message, Exception exception)
		{
			DebugLogger.Log("WARN: " + message, exception);
		}
		public void Warn(object message)
		{
			DebugLogger.Log("WARN: " + message);
		}
		public void WarnFormat(string format, params object[] args)
		{
			DebugLogger.LogFormat("WARN: " + format, args);
		}
	}
}
